Installation script
For the user convenience, we provide a bash script that handles the installation of the dependencies, WOLF core and WOLF plugins. To use it, download and change its permissions:
wget https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_scripts/-/raw/main/install_wolf.sh
sudo chmod +x install_wolf.sh
This script have several optional inputs:
./install_wolf.sh [-d <string>] [-w <string>] [-a] [-p <string>] [-b <string>] [-l <string>] [-h]
All the inputs to the script are optional. If any of them is not set when launching, the user will be asked during execution:
-d <string>: dependencies destination path (either/global/pathorrelative/path).-w <string>: wolf folder destination path (either/global/pathorrelative/path).-a: install all plugins (incompatible with-p)-p <string>: plugins to be installed (incompatible with-a) being a string of 4 chars “y/n” corresponding to plugins imu, gnss, laser, vision (for example “ynyn”).-b <string>: wolf plugins branch name (same for all plugins) (default: main).-l <string>: local install prefix (either/global/pathorrelative/path), no sudo needed. All libraries built by the script are installed there. The system packages must be already installed (the script lists the missing ones, if any). At the end, the script prints the environment variables to add to your~/.bashrc.-h: show the usage help and exit.